package com.hz.ruoyilgorder.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.rouyigonggong.domain.LgInboundOrder;
import com.hz.rouyigonggong.domain.dto.LgInboundOrderDTO;
import com.hz.ruoyilgorder.mapper.LgInboundOrdeMapper;
import com.hz.ruoyilgorder.mapper.LgInboundOrderDTOMapper;
import com.hz.ruoyilgorder.service.LgInboundOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Author yzw
 * @Date 2025/3/7 17:00
 * @注释
 */
@Service
public class LgInboundOrderServiceImpl extends ServiceImpl<LgInboundOrdeMapper, LgInboundOrder> implements LgInboundOrderService {

    @Autowired
    private LgInboundOrderDTOMapper  lgInboundOrderDTOMapper;

    @Override
    public List<LgInboundOrderDTO> querylist(LgInboundOrderDTO entity) {
        return lgInboundOrderDTOMapper.querylist(entity);
    }

    @Override
    public LgInboundOrderDTO getInfo(Integer id) {
        return lgInboundOrderDTOMapper.getInfo(id);
    }

    @Override
    public LgInboundOrder update(LgInboundOrder order) {



        return null;
    }

    @Override
    public List<LgInboundOrderDTO> getOrderBySellerId(Integer sellerId) {
        return  lgInboundOrderDTOMapper.getOrderBySellerId(sellerId);
    }

    @Override
    public LgInboundOrderDTO getSellInfoOrderById(Integer id) {
        return lgInboundOrderDTOMapper.getSellInfoOrderById(id);
    }
}
